<template>
<view class="u-page" >
	
	<u--form
			labelPosition="top"
			:model="model1"
			:rules="rules"
			ref="form1"
			labelWidth="50px"
		>

			<f-text></f-text>

	</u--form>
	
</view>
</template>

<script>
	export default {
		data(){
			return {
				model1: {
					userInfo: {
						name: 'uview-plus UI',
						sex: '',
					}
				},
				assetsItems:[
					{
						name:'文字',
						icon:'icon-wenzi',
						text:'可插入多个文本段,达到图文混排的效果'
					},
					{
						name:'大图',
						icon:'icon-tupian1',
						text:'可完整显示图片'
					},
					{
						name:'小图',
						icon:'icon-jiugongge-line-',
						text:'九宫格显示图片'
					},
					{
						name:'视频',
						icon:'icon-shipin',
						text:'最多上传90s,不超过15M的视频'
					},
					{
						name:'附件',
						icon:'icon-fujian02',
						text:'最多可上传6个附件'
					},
					{
						name:'公众号',
						icon:'icon-weixingongzhonghao',
						text:'可跳转到公众号文章'
					},
					{
						name:'其他小程序',
						icon:'icon-xiaochengxu',
						text:'可跳转到任意小程序'
					},
					{
						name:'一键复制区',
						icon:'icon-fuzhi',
						text:'可添加网址、微信号等等、方便他人复制'
					},
					{
						name:'关联职位',
						icon:'icon-a-1',
						text:'可插入多个发布过的接龙'
					}
				],
			}
		},
		methods:{
			assetsItemsClass()
			{
				return function(item){
					let itemsClass = {
						icon:true,
						iconfont:true
					}
					
					itemsClass[item.icon] = true
			
					return itemsClass;
				}
			}
		}
	}
</script>

<style lang="scss" scoped>
.u-page {
	padding: 15px 15px 0px 15px;
	background-color: #fff;
}
</style>